home *** CD-ROM | disk | FTP | other *** search
/ Just Call Me Internet / Just Call Me Internet.iso / com / computer / casio_st / prog_fx / oisac2 / l_m6740.txt < prev    next >
Text File  |  1994-03-01  |  1KB  |  34 lines

  1. 5 IFsq<>60 ANDsq<>62 THENsq=226
  2. 10 MODE8:DIM:GOSUB900:ERASEb$:DIMb$(1):b$(0)="Reject":b$(1)="Accept":t$="Test     Hß:åÆý=å’ý  HÆ:åÆý"+CHR$(sq)+"å’ý":c$=CHR$(5):DEFCHR$(252)="123E020000":DEFCHR$(253)="2E2A3A0000"
  3. 20 CLS:PRINTt$;TAB(0);"input new data xÆ (Y/N) ?";:a$=INPUT$(1)
  4. 22 IFa$<>"Y" ANDa$<>"y" THEN30
  5. 25 s$="xÆ":GOSUB"LIB0:S6020":GOSUB900
  6. 30 CLS:PRINTt$;TAB(0);"input new data x’ (Y/N) ?";:a$=INPUT$(1)
  7. 32 IFa$<>"Y" ANDa$<>"y" THEN36
  8. 35 s$="x’":GOSUB"LIB0:S6030":GOSUB900
  9. 36 s=sa:IFs>1 THENr=sk^2 ELSEr=0
  10. 37 f=5:u=sz:IFu>1 THENt=sl^2 ELSEt=0
  11. 45 CLS:PRINTt$;
  12. 50 z=s:s$="nÆ":GOSUB500:s=z
  13. 60 z=r:s$="VÆ":GOSUB500:r=z
  14. 70 z=u:s$="n’":GOSUB500:u=z
  15. 80 z=t:s$="V’":GOSUB500:t=z
  16. 90 CLS:PRINT"Significance level à[%]";
  17. 95 z=f:s$="à":GOSUB500:f=z:IFf<0 ORf>100 THEN95
  18. 97 CLS:PRINTt$;TAB(0);".....";
  19. 100 n=s-1:m=u-1:p=f/100:IFsq=226 ANDr<t THENn=u-1:m=s-1
  20. 102 IFsq=226 THENp=p/2 ELSEIFsq=60 THENp=1-p
  21. 105 sr=0:GOSUB"LIB0:S6440":GOSUB900:IFsr THEN*
  22. 107 IFsq=226 ANDr<t THENz=t/r ELSEz=r/t
  23. 110 b=1:GOSUB400:a=z:z=x:GOSUB400:x=z
  24. 120 IF(sq=226 ORsq=62) ANDa>x THENb=0
  25. 122 IFsq=60 ANDa<x THENb=0
  26. 130 z=SGN(sq-60):PRINTc$;a;CHR$(60+z*2+b*(164-z));x;": ";b$(b);:a$=INPUT$(1,@):GOTO45
  27. 400 IFz THENz=ROUND(z,LOG(ABSz)-5)
  28. 410 RETURN
  29. 500 LOCATE0,1:PRINTc$;s$;"=";z;"?";:INPUT@10;z:LOCATE0,0:RETURN
  30. 900 ONERRORGOTO910:RETURN
  31. 910 IFERR=1 THENCLS:ONERRORGOTO0
  32. 920 IFERL=500 THENRESUME500
  33. 930 LOCATE0,1:PRINTc$;"not found";:z$=INPUT$(1,@):RESUME20
  34.